import numpy as np

'''原型numpy.arange(start, stop, step, dtype)
'''

# 1.创建1~5
x = np.arange(5)
print(x)
'''[0 1 2 3 4]'''

# 2.创建2,4,6,8,10
y = np.arange(2,10,2)
print(y)
'''[2 4 6 8]'''